package cn.kgc.springhouse.service;

import cn.kgc.springhouse.entity.Houseinfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zwr
 * @since 2024-04-09
 */
public interface HouseinfoService extends IService<Houseinfo> {

    //分页查询
    public PageInfo<Houseinfo> selectPageList(String typeName,int pageNo,int pageSize);

    //查询
    public List<Houseinfo> select2(String typeName);
    //根据id查询查询
    public Houseinfo getHouseById(Integer id);
    //修改
    public int upadate(Houseinfo houseinfo);
    //删除
    public int delete(Houseinfo houseinfo);
}
